Count Property

Wintellect PowerCollections

Collapse imageExpand ImageCollapseAll imageExpandAll imageDropDown imageDropDownHover imageCopy imageCopyHover image
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Returns the number of items in the bag.

Namespace: Wintellect.PowerCollections
Assembly:  PowerCollections (in PowerCollections.dll)

Syntax

C#
public override sealed int Count{ get;}
Visual Basic (Declaration)
Public Overrides NotOverridable ReadOnly Property Count As Integer
Visual C++
public:
virtual property int Count {
	int get () override sealed;
}

Field Value

The number of items in the bag.

Remarks

The size of the bag is returned in constant time.

See Also